package com.qf.shopping.pojo.car;

/**
 * 自有商品 车款关联表
 * @author Humy
 * @date 2019/4/12 11:30
 */
public class ProductCar {

    //id
    private Long id;

    //自有商品ID
    private Long productId;

    //车款ID
    private Long carId;

    public ProductCar() {
    }

    public ProductCar(Long id, Long productId, Long carId) {
        this.id = id;
        this.productId = productId;
        this.carId = carId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getCarId() {
        return carId;
    }

    public void setCarId(Long carId) {
        this.carId = carId;
    }

    @Override
    public String toString() {
        return "ProductCar{" +
                "id=" + id +
                ", productId=" + productId +
                ", carId=" + carId +
                '}';
    }
}
